package com.woniuxy.ticketsearch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.ticketsearch.entity.Movie;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MovieMapper extends BaseMapper<Movie> {
    @Select("select id,name,actor,description from ticket_movie")
    List<Movie> findAll();
}
